Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / SystemFontCollection Class / FindFamilyName Method / FindFamilyName(String[],Boolean,Boolean) Method
The array of allowable font family name.
Indicates if the font should be embolded.
Indicates if the font should contain Italic characters.

In This Topic
    FindFamilyName(String[],Boolean,Boolean) Method
    In This Topic
    Searches for a font from the set of allowable font family names and the specified style.
    Syntax
    'Declaration
     
    Public Overloads Function FindFamilyName( _
       ByVal fontFamilyNames() As System.String, _
       Optional ByVal bold As System.Boolean, _
       Optional ByVal italic As System.Boolean _
    ) As Font
    public Font FindFamilyName( 
       System.string[] fontFamilyNames,
       System.bool bold,
       System.bool italic
    )

    Parameters

    fontFamilyNames
    The array of allowable font family name.
    bold
    Indicates if the font should be embolded.
    italic
    Indicates if the font should contain Italic characters.

    Return Value

    The corresponding Font or null.
    See Also